<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="js/jquery-1.2.6.js"></script>
<link rel="stylesheet" type="text/css" href="css/common.css" />
<script type="text/javascript">
function showOptTr(no){
  $("#oprtr"+no).toggle();
}
function doselect(no) {
	if($("#ck"+no).attr("checked")){
		$("#friendsTimeline_tb"+no).removeClass("tb1");
        $("#friendsTimeline_tb"+no).addClass("tb2");
	}else{
		$("#friendsTimeline_tb"+no).removeClass("tb2");
		$("#friendsTimeline_tb"+no).addClass("tb1");
	}
}
</script>
<title>微博邮差</title>
</head>
<body>
<table style="width: 100%;" cellpadding="0" cellSpacing="0" border="1">
	<tr>
		<td style="width: 70%">
		<table cellpadding="0" cellSpacing="0" border="0">
			<tr>
				<td>邮车中信息：0条</td>
				<td><a href="#">点击发送邮件</a></td>
			</tr>
			<%
				int i = 0;
			%>
			<s:iterator value="friendsTimeline" status="status">
				<tr>
					<td colspan="2">
					<table id="friendsTimeline_tb<%=++i%>"
						onmouseout="showOptTr(<%=i%>)" onmouseover="showOptTr(<%=i%>)"
						cellpadding="0" cellSpacing="0" border="1" class="tb1">
						<tr style="background-color: silver">
							<td><font style="color: blue; font-size: 12"><s:property
								value="user.name" /></font> <s:property value="text" /> <br>
							<SPAN style="font-size: 9;"> @<s:property
								value="retweetDetails.retweetingUser.name" /> <s:property
								value="retweetDetails.text" /></SPAN></td>
						</tr>
						<tr id="oprtr<%=i%>"
							style="display: none; text-align: right; background-color: maroon">
							<td><input type="checkbox" id="ck<%=i%>"
								onclick="doselect(<%=i%>)">放入邮车</td>
						</tr>
					</table>
					</td>
				</tr>
				<tr style="height: 20px">
					<td></td>
				</tr>
			</s:iterator>
			<tr>
				<td></td>
				<td><a href="#">Next</a></td>
			</tr>
		</table>
		</td>
		<td style="vertical-align: top">
		<fieldset><legend>*</legend>
		<table cellpadding="0" cellSpacing="0" border="0">
			<tr>
				<td><img alt=""
					src="http://tp4.sinaimg.cn/1651767627/50/1279883769"></td>
				<td><s:property value="user.name" /></td>
			</tr>
		</table>
		</fieldset>
		</td>
	</tr>
</table>
</body>
</html>